{extend name="base" /}

{block name="title"}我的会员信息{/block}

{block name="main"}
<div class="main">
	<div class="container">
		<div class="vip">
			<dl class="vip_box">
				<dt class="vip_title">我的会员信息</dt>
				<dd class="vip_contai">
					<!--未开通显示-->
					<!--<p class="not_vip">您还不是vip会员，请开通vip会员服务。<a href="opvip.html" class="ale_btn">开通会员</a></p>-->
				
					<!--开通会员后显示充值会员明细-->
					<div class="vip_info_box">
						<!--<p>会员等级：<span>LV.{/*$user_vip.level*/}</span></p>-->
						<p>会员剩余天数：<span>{$user_vip -> remaining_days}天</span></p>
						<p>续费钱包：<span>{$user_wallet_vip.price}</span><a href="/user/vip/details" style="background-color: #000000;">详细</a></p>
						<p>金钱钱包：<span>{$user_wallet.money}</span><a href="/user/topUp">充值</a></p>
						<p>冻结金钱：<span>{$countFreeze}</span><a href="/user/vip/freezeList" style="background-color: #189DE1;">详细</a></p>
						<p>金豆钱包：<span>{$currentUserWalletGold.price + $currentUserWalletGold.interest}</span><a href="/wallet/gold" style="background-color: #ff7e00;">详细</a></p>
						<p>银豆钱包：<span>{$currentUserWalletSilverPrice}</span><a href="/wallet/silver" style="background-color: #ccc;">详细</a></p>
					</div>
					<!--开通会员后显示充值会员明细-->
					<div class="vip_gruop">
						<div class="table-responsive">
						  	<table class="table text-center">
						    	<tr>
						    		<td>编号</td>
						    		<td>操作</td>
						    		<td>金额</td>
						    		<td>备注</td>
						    		<td>是否审核</td>
						    		<td>日期</td>
						    	</tr>
						    	{volist name='user_wallet_logs' id='user_wallet_log'}
    							<tr>
						    		<td>{$user_wallet_log.user_wallet_log_id}</td>
						    		<td>{$user_wallet_log.type}</td>
						    		<td>{switch name="user_wallet_log.active" }
										{case value="0"}-{/case}
										{case value="1"}+{/case}
										{default /}
										{/switch}
										{$user_wallet_log.price}金钱
						    		</td>
						    		<td>{$user_wallet_log.remark}</td>
						    		<td>{$user_wallet_log.is_state}</td>
						    		<td>{$user_wallet_log.create_time}</td>
						    	</tr>
								{/volist}
						  	</table>
						</div>
						<nav>
						  <!--<ul class="pager">
						    <li><a href="#">上一页</a></li>
						    <li><a href="#">下一页</a></li>
						  </ul>-->
						  {$user_wallet_logs -> render()}
						</nav>
					</div>
					
				</dd>
			</dl>
			
		</div>
	</div>
</div>
{/block}